package constant;

public class Constant {

    //定义所有书籍的存储文件
    public static final String ALL_BOOKS_FILE_NAME = "allBooks.txt";

    public static final String BORROWED_BOOKS_FILE_NAME = "borrowedBooks.txt";


    //定义默认的书架存储容量
    public static final int CAPACITY = 5;

    //普通用户最多借阅书籍的数量
    public static final int BORROW_BOOK_MAX_NUM = 5;

    //----------------管理员的常量方法------------------

    public static final int SEARCH_BOOK = 1;

    public static final int DISPLAY_BOOK = 2;

    public static final int EXIT = 3;

    public static final int ADD_BOOK = 4;

    public static final int UPDATE_BOOK = 5;

    public static final int REMOVE_BOOK = 6;

    public static final int BORROW_COUNT_BOOK = 7;

    public static final int GENERATE_Book = 8;

    public static final int CHECK_INVENTORY_STATUS = 9;

    public static final int CHECK_REMOVE_OLD_BOOK = 10;

    //----------------普通用户的常量方法------------------
    public static final int BORROWED_BOOK = 4;

    public static final int RETURN_BOOK = 5;

    public static final int VIEW_BORROWED_HISTORY = 6;







}
